home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / samples / midpnt / viewlist.h < prev   
Encoding:
C/C++ Source or Header  |  1996-09-22  |  933 b   |  47 lines

  1. /*
  2.  *      ViewList.h
  3.  *
  4.  * MIDAS Module Player for Windows NT View list definitions
  5.  *
  6.  * Copyright 1996 Petteri Kangaslampi
  7. */
  8.  
  9. #ifndef __MIDPVIEWLIST_H
  10. #define __MIDPVIEWLIST_H
  11.  
  12.  
  13. class midpViewList : public midpList
  14. {
  15. public:
  16.     midpViewList();
  17.     ~midpViewList();
  18.     void AddView(midpView *view);
  19.     void RemoveView(midpView *view);
  20.     midpView *GetFirst();
  21.     midpView *GetNext();
  22.     midpView *FindView(const char *viewName);
  23. };
  24.  
  25.  
  26.  
  27. class midpViewWindowList : public midpList
  28. {
  29. private:
  30.     int         numWindows;
  31. public:
  32.     midpViewWindowList(void);
  33.     ~midpViewWindowList(void);
  34.     void AddWindow(midpViewWindow *window);
  35.     void RemoveWindow(midpViewWindow *window);
  36.     midpViewWindow *GetFirst(void);
  37.     midpViewWindow *GetNext(void);
  38.     void SongChanged(void);
  39.     void CloseAll(void);
  40.     int NumWindows();
  41. };
  42.  
  43.  
  44. extern midpViewWindowList viewWindowList;
  45.  
  46.  
  47. #endif